package com.jinzhi.jzweb.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.jzweb.domain.JazOrderTakingDO;
import com.jinzhi.common.base.BaseDao;
import com.jinzhi.jzweb.domain.param.ReceiveOrderQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * <pre>
 * 后台需求和面试邀约中间表
 * </pre>
 * <small> 2024-08-01 15:19:16 | Long</small>
 */
public interface JazOrderTakingDao extends BaseDao<JazOrderTakingDO> {
    /**
     * 分页查询接单数据
     * @param page
     * @param receiveOrderQuery
     * @return
     */
    List<JazOrderTakingDO> getReceiverOrderList(Page<JazOrderTakingDO> page,@Param("receiveOrderQuery") ReceiveOrderQuery receiveOrderQuery);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    JazOrderTakingDO getReceiverOrderById(Long id);

    Long selJazOrderTakingMax();
}
